package com.sayyi.demo.swagger.service;

import com.sayyi.demo.swagger.domain.Employee;

/**
 * @author xuchuang
 * date 2021/12/23 3:40 PM
 */
public interface EmployeeService {

    /**
     * 通过id获取用户信息
     * @param id
     * @return
     */
    Employee getById(long id);

    /**
     * 新增用户信息
     * @param employee
     * @return
     */
    long save(Employee employee);
}
